<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
jimport('joomla.application.component.view');
jimport('joomla.html.pagination');

class EcommerceViewList extends JView
{
	function display($tpl = null)
	{
		global $option, $mainframe;
		$model = &$this->getModel();
		
		$cats = $model->getList();
		$cat_name = $model->getInfo();

		$this->assignRef('cats', $cats);		
		$this->assignRef('cat_name', $cat_name);
		
		parent::display($tpl);	
	}
}
?>